package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/*
 * @Author zhangdan
 * @Description //TODO 检查组服务接口
 * @Date 23:27 2020/4/15
 * @Param 
 * @return 
 **/
public interface CheckGroupService {

    //新增检查组
    public void add(CheckGroup checkGroup,Integer[] checkitemIds);

    //检查项分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //根据id查询检查组
    public CheckGroup findById(Integer id);

    //根据检查组id查询当前检查组包含的检查项的ID
    public List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    //编辑检查组
    public void edit(CheckGroup checkGroup, Integer[] checkitemIds);
}
